package kpi.java_training.domain.teaching;

import java.util.Comparator;

/**
 * Created by Alex Kebkalo on 12.11.13.
 */
public class QuestionComplexityComparator implements Comparator<SameComplexityQuestions> {
    @Override
    public int compare(SameComplexityQuestions questions1, SameComplexityQuestions questions2) {
        return questions1.getComplexity() - questions2.getComplexity();
    }
}
